package com.qqtech.qquan.user.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.model.Result;
import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.user.model.UserAuth;
import com.qqtech.qquan.user.model.UserAuthQuery;
import com.qqtech.qquan.user.model.UserAuthVo;

public interface UserAuthService extends BaseService<UserAuth> {
	public UserAuthVo getByUserId(java.lang.Integer userId) ;
	
	/**
	 * 身份认证通过
	 * @param userId 用户id
	 * @param adminUserId 后台操作人id
	 * @return
	 */
	public Result handleThrough(UserAuth userAuth, Integer adminUserId);
	
	/**
	 * 后台查询列表--分页
	 * 
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<UserAuthVo> queryPageListAdmin(UserAuthQuery query, Pageable pageable);
}